Fun With Functions

نویسنده

  • Tobias Nipkow
چکیده

This is a collection of cute puzzles of the form “Show that if a function satisfies the following constraints, it must be . . . ” Please add further examples to this collection! Apart from the one about factorial, they all come from the delightful booklet by Terence Tao [1] but go back to Math Olympiads and similar events. Please add further examples of this kind, either directly or by sending them to me. Let us make this a growing body of fun! theory FunWithFunctions imports Complex-Main begin See [1]. Was first brought to our attention by Herbert Ehler who provided a similar proof. theorem identity1 : fixes f :: nat ⇒ nat assumes fff : ∧ n. f (f (n)) < f (Suc(n)) shows f (n) = n 〈proof 〉 See [1]. Possible extension: Should also hold if the range of f is the reals! lemma identity2 : fixes f :: nat ⇒ nat assumes f (k) = k and k ≥ 2 and f-times: ∧ m n. f (m∗n) = f (m)∗f (n) and f-mono: ∧ m n. m<n =⇒ f m < f n shows f (n) = n 〈proof 〉 One more from Tao’s booklet. If f is also assumed to be continuous, f x = x + 1 holds for all reals, not only rationals. Extend the proof! theorem plus1 : fixes f :: real ⇒ real assumes 0 : f 0 = 1 and f-add : ∧ x y . f (x+y+1 ) = f x + f y assumes r : Q shows f (r) = r + 1 〈proof 〉

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Identifying Factors Affecting Fun in Workplace with Ethnography Approach

The purpose of this study is to identifying factors affecting Fun in Workplace in Army Physical Training Corps.The study type is developmental and mix method and to extract factors, ethnography methodology that is a qualitative method was used. To extract factors, ethnography methodology was used. Statistical population in this study consists of Army Physical Training Corps. In quantitative sec...

متن کامل

Modelling, Analysis and Simulation Computing complex Airy functions by numerical quadrature

Integral representations are onsidered of solutions of the Airy di erential equation w z w = 0 for omputing Airy fun tions for omplex values of z. In a rst method ontour integral representations of the Airy fun tions are written as non-os illating integrals for obtaining stable representations, whi h are evaluated by the trapezoidal rule. In a se ond method an integral representation is evaluat...

متن کامل

پیش بینی رضایت زناشویی زوج ها براساس نیازهای اساسی آن ها

The purpose of this study was to investigate the prediction of marital satisfaction based on basic needs in couples. The statistical population of this study concluded all of couples in Isfahan in 2015 that among them 82 couples selected through convenience sampling as the sample of the study. Glombok-Rust Inventory of Marital State (GRIMS) and basic needs questionnaire used as the instruments ...

متن کامل

A Normalization Code in Standard Ml Datatype 'a Option = None | Some of 'a 7 Conclusion and Future Work

The following Standard ML code can be used for solving constraint systems. The code assumes that phase 1 described earlier has been performed during constraint generation. The imperative aspects of Standard ML have been used a lot and we believe that this must be done for the complexity analysis to hold. For readability we have used standard list notation for the dependency lists although our c...

متن کامل

The Evolution of Fun: Automatic Level Design Through Challenge Modeling

A generative system that creates levels for 2D platformer games is presented. The creation process is driven by generic models of challenge-based fun which are derived from existing theories of game design. These models are used as fitness functions in a genetic algorithm to produce new levels that maximize the amount of player fun, and the results are compared with existing levels from the cla...

متن کامل

Effectiveness of cognitive-functional (Cog-Fun) intervention with children with attention deficit hyperactivity disorder: a pilot study.

The executive function (EF) deficits of children with attention deficit hyperactivity disorder (ADHD) hinder their performance of complex daily functions. Despite the existing evidence-based pharmacological interventions for ADHD symptoms, no intervention has yet been found that deals directly with EFs in daily tasks. Fourteen children and their parents participated in the Cognitive-Functional ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Archive of Formal Proofs

دوره 2008  شماره 

صفحات  -

تاریخ انتشار 2008